
export default{
    state : {
        is_record:false,
        a_step: "",
        b_step: "",
        food_x: null,
        food_y: null,

    },
    getters: {
    },
    mutations: {
        updateIsRecord(state,is_record){
            state.is_record = is_record;
        },
        updateSteps(state,data){
            state.a_step = data.a_step;
            state.b_step = data.b_step;
        },
        updateFood(state,data){
            state.food_x = data.food_x;
            state.food_y = data.food_y;
        }

    },
    actions: {
    },
    modules: {
    }
}